{extend name='base'}
{block name='content'}
<article>
    <div class="_head category_title">
        <h2>
            {$headData['title']}：
            <!--分类：-->
            {$headData['name']}
        </h2>
		<span>
									共 {$headData['total']} 篇文章
								</span>
    </div>
</article>
{foreach name='articleData' item='v'}
<article>
    <div class="_head">
        <h1>{$v['title']}</h1>
		<span>
								作者：
								{$v['author']}
								</span>
        •
        <!--pubdate表⽰示发布⽇日期-->
        <time pubdate="pubdate" datetime="">{:date('Y-m-d H:i:s',$v['sendtime'])}</time>
        •
        分类：
        <a href="">{$v['cname']}</a>
    </div>
    <div class="_digest">
        <img src="{$v['thumb']}"  class="img-responsive"/>
        <p>
            {$v['digest']}
        </p>
    </div>
    <div class="_more">
        <a href="{:url('index/content/index',['aid'=>$v['aid']])}" class="btn btn-default">阅读全文</a>
    </div>
    <div class="_footer">
        <i class="glyphicon glyphicon-tags"></i>
        {foreach name="v['tags']" item='vv'}
        <a href="{:url('index/lists/index',['tid'=>$vv['tid']])}">{$vv['tname']}</a>、
        {/foreach}
    </div>
</article>
{/foreach}
{/block}